<template>
	<view class="bg_color">
		<!-- 发展历程开始 -->
		<view class="dhistory">
			<!-- item -->
			<view class="flex-col group_43">
				<view :key="i" v-for="(item, i) in list">
					<view class="flex-row group_44">
						<view class="flex-col group_45">
							<image
								src="/static/bg/yuan.png"
								class="image_27 image_34" />
							<text class="text_51">{{item.name}}</text>
						</view>
						<text class="text_6 text_52">年</text>
						<view class="section_15"> </view>
					</view>
					<view class="flex-row group_46">
						<image :src="item.image" class="image_29 image_35" />
						<text class="text_6 text_53">{{item.describe}}</text>
					</view>
				</view>

			</view>

		</view>
	</view>
</template>

<script>
	var that; // 当前页面对象
	var vk; // vk依赖
	export default {
		data() {
			return {
				list: []
			}
		},
		onLoad() {
			that = this;
			vk = that.vk;
			that.$api.history({}).then((data) => {
				if (data.code == 0) {
					that.list = data.rows;
				} else {
					vk.toast('网络开小差了~')
				}
			}).catch((err) => {
			})
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	
	.dhistory {
		position: relative;

		.text_6 {
			text-transform: uppercase;
		}

		.text_42 {
			margin-left: 30rpx;
			color: rgb(153, 153, 153);
			font-size: 18rpx;
			font-weight: 200;
			line-height: 25rpx;
			white-space: nowrap;
		}

		// item
		.group_43 {
			left: 0;
			right: 0;
			top: 0;
			position: relative;
			margin-bottom: 100rpx;

			.group_44 {
				padding: 30rpx 30rpx 0;

				.group_45 {
					padding-bottom: 9rpx;
					color: rgb(34, 34, 34);
					font-size: 36rpx;
					font-weight: 900;
					line-height: 46rpx;
					white-space: nowrap;
					width: 99rpx;
					position: relative;

					.image_27 {
						margin-bottom: 5rpx;
						width: 46rpx;
						height: 46rpx;
					}

					.image_34 {
						margin-bottom: 0;
					}

					.text_51 {
						text-transform: uppercase;
						position: absolute;
						right: 0;
						top: 50%;
						transform: translateY(-50%);
					}
				}

				.text_52 {
					margin-top: 23rpx;
					color: rgb(34, 34, 34);
					font-size: 20rpx;
					line-height: 28rpx;
					white-space: nowrap;
				}

				.section_15 {
					margin-left: 33rpx;
					margin-top: 33rpx;
					flex: 1 1 auto;
					background-color: rgb(204, 204, 204);
					height: 2rpx;
				}
			}

			.group_46 {
				padding: 28rpx 30rpx 0;
				color: rgb(34, 34, 34);
				font-size: 24rpx;
				line-height: 36rpx;

				.image_29 {
					border-radius: 6rpx;
					filter: drop-shadow(0px 10rpx 10rpx #0000000d);
					width: 330rpx;
					height: 150rpx;
				}

				.image_35 {
					flex: 1 1 330rpx;
				}

				.text_53 {
					margin-left: 24rpx;
					flex: 1 1 330rpx;
					text-align: left;
				}
			}

			.text_6 {
				text-transform: uppercase;
			}

			// 查看更多
			.button_1 {
				padding: 17rpx 0;
				color: rgb(209, 154, 96);
				font-size: 24rpx;
				line-height: 33rpx;
				background-color: rgb(255, 255, 255);
				box-shadow: 0px 10rpx 20rpx 0px rgba(0, 0, 0, 0.05);
				border-radius: 35rpx;
				width: 270rpx;
				position: absolute;
				left: 50%;
				bottom: -100rpx;
				transform: translateX(-50%);
				border: solid 2rpx rgb(209, 154, 96);

				.image_7 {
					margin: 8rpx 75rpx 8rpx 10rpx;
					width: 10rpx;
					height: 16rpx;
				}

				.image_37 {
					margin: 8rpx 0 8rpx 10rpx;
				}
			}
		}


	}
</style>
